package com.sondertara.joya.core.po;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.time.OffsetDateTime;

@Entity
@Table(name = "APP_COMP")
@Data
public class AppCompPo {
    @Id
    @Column(name = "APP_ID", nullable = false, precision = 18, scale = 0)
    private String appId;

    @Column(name = "APP_SYS_CODE")
    private String appSysCode;

    @Column(name = "EN_SHORT_NAME")
    private String enShortName;

    @Column(name = "CNAME")
    private String cname;

    @Column(name = "IS_ACTIVE")
    private String isActive;

    @Column(name = "APP_LEVEL")
    private String appLevel;

    @Column(name="APP_TYPE_CODE")
    private String appTypeCode;

    @Column(name="SUB_SYSTEM_STATUS")
    private String subSystemStatus;

    @Column(name = "APP_MANAGER_A")
    private String appManagerA;

    @Column(name = "APP_MANAGER_A_NAME")
    private String appManagerAName;

    @Column(name = "APP_MANAGER_B")
    private String appManagerB;

    @Column(name = "APP_MANAGER_B_NAME")
    private String appManagerBName;

    @Column(name = "APP_OPS_ORG")
    private String appOpsOrg;//应用运维单位

    @Column(name = "APP_ORG_GROUP")
    private String appOrgGroup;//应用运维群组

    @Column(name = "CI_MG_GROUP")
    private String ciMgGroup;//运维团队

    @Column(name = "APP_MANAGE_DEPT")
    private String appManageDept;//运维管理团队

    @Column(name = "START_TIME")
    private OffsetDateTime startTime;

    @Column(name = "END_TIME")
    private OffsetDateTime endTime;

    @Column(name = "LAST_UPDATE_TIME")
    private OffsetDateTime lastUpdateTime;
}
